﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MasterSideMenu.ascx.cs"
    Inherits="Controls_General_SideMenus_MasterSideMenu" %>
<div class="SubMenu">
    <ul>
        <li>
            <asp:HyperLink ID="hlEdit" runat="server" CssClass="SubMenuLink"><span class="Icon Edit"></span><span>Edit</span></asp:HyperLink>
        </li>
        <li><a onclick="<%--$('.Selected').removeClass('Selected');$(this).addClass('Selected');--%>$('#create').show()"
            class="SubMenuLink"><span class="Icon New"></span><span>Create account</span> </a>
        </li>
        <li><a href="<%=AppParams.URLs.MasterAccount_PostStatus(MasterAccountID) %>">
            <%=Resources.Texts.Post_status_line%><span class="Icon Post"></span><span></span></a>
        </li>
    </ul>
    <hr />
    <ul>
        <li><a href="/Pages/Settings/Settings.aspx" class="CreateLink"><span class="Icon Settings">
        </span><span>Settings</span></a></li>
        <li>
            <asp:Label ID="lblLogin" runat="server"><a href="~/Account/Login.aspx" id="A1" runat="server">
                <span class="Icon New"></span><span>Log In</span></a> </asp:Label>
            <asp:Label ID="lblLogout" runat="server">
                <asp:LinkButton ID="LinkButton1" runat="server" OnClick="lbtnLogout_Click"><span class="Icon"></span><span>Logout</span></asp:LinkButton>
            </asp:Label>
        </li>
    </ul>
</div>
<div class="NewAccountForm">
    <div id="create" class="SectionLInk">
        <%--<div class="Triangle">
			</div>--%>
        <div class="Title">
            <h4>
                Create new account</h4>
        </div>
        <div class="InputSection">
            Account name
            <div class="TextBoxBorder">
                <ui:TextBox runat="server" ID="tbName" AutoResize="true" BorderWidth="0" Columns="30"
                    Rows="1" AutoResizeLimit="3"></ui:TextBox>
                <br />
            </div>
            <label class="PostButtonContainer rFloat">
                <asp:Button ID="Button2" runat="server" OnClick="btnCreatAccount_Click" Text="Create"
                    CssClass="PostButton" />
            </label>
            <label class="PostButtonContainer lFloat">
                <input type="button" name="closeMasterAccountCreation" value="Cancel" class="PostButton"
                    onclick="$('.SectionLInk').hide()" />
            </label>
        </div>
    </div>
</div>